/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86183
 * Date: 2024-04-16
 * Time: 11:34
 */
class MyTimerTask{
    private Runnable runnable;
    private long time;
    public MyTimerTask(Runnable runnable,long delay){
        this.runnable=runnable;
        this.time =System.currentTimeMillis()+delay;
    }
    public long getTime(){
        return time;
    }


}
class MyTimer {
    public MyTimer(int capacity){
        for (int i = 0; i <capacity ; i++) {
            Thread thread=new Thread(()->{
               Runnable runnable=
            });
        }
    }

}
public class Demo5 {
    public static void main(String[] args) {

    }
}
